//package com.netease;
//
//import com.alibaba.excel.write.style.AbstractVerticalCellStyleStrategy;
//import org.apache.poi.ss.usermodel.*;
//
///**
// * @projectName: modeling-dev
// * @package: com.netease
// * @className: MyVerticalCellStyleStrategy
// * @author: aochong
// * @description: TODO
// * @date: 2023/4/6 14:18
// * @version: 1.0
// */
//public class MyVerticalCellStyleStrategy extends AbstractVerticalCellStyleStrategy {
//
//    protected void setHeadCellStyle(Cell cell) {
//        // 设置表头单元格样式
//        CellStyle cellStyle = cell.getCellStyle();
//        cellStyle.setBorderTop(BorderStyle.THIN);
//        cellStyle.setBorderBottom(BorderStyle.THIN);
//        cellStyle.setBorderLeft(BorderStyle.THIN);
//        cellStyle.setBorderRight(BorderStyle.THIN);
//        cellStyle.setFillForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex());
//        cellStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND);
//        cell.setCellStyle(cellStyle);
//    }
//
//    protected void setContentCellStyle(Cell cell) {
//        // 设置内容单元格样式
//        CellStyle cellStyle = cell.getCellStyle();
//        cellStyle.setBorderTop(BorderStyle.THIN);
//        cellStyle.setBorderBottom(BorderStyle.THIN);
//        cellStyle.setBorderLeft(BorderStyle.THIN);
//        cellStyle.setBorderRight(BorderStyle.THIN);
//        cell.setCellStyle(cellStyle);
//    }
//}
